/*
 * @Author: zhangguowei 974599791@qq.com
 * @Date: 2022-08-29 15:45:12
 * @LastEditors: zhangguowei 974599791@qq.com
 * @LastEditTime: 2022-08-29 16:17:47
 * @Description: 
 */

import { defineComponent, ref } from 'vue'

const cs = defineComponent({
  setup () {
    const isShow = ref(true)
    const isShowClick = () => {
      isShow.value = !isShow.value
    }
    return () => (
      <div>
        <el-button onClick={isShowClick}>显示隐藏</el-button>
        <p v-show={isShow.value}>11111111111111111</p>
      </div>
    )
  }
})

export default cs
